package com.dong.service.impl;

import com.dong.dao.VideoMapper;
import com.dong.dao.VideoTypeMapper;
import com.dong.entity.Video;
import com.dong.entity.VideoType;
import com.dong.service.VideoTypeService;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class VideoTypeServiceImpl implements VideoTypeService {

   @Autowired
   private VideoTypeMapper videoTypeMapper;
    @Override
    public List<VideoType> selectAllVideoType() {
        List<VideoType> videoTypes = videoTypeMapper.selectAllVideoType();
        return videoTypes ;
    }
}
